Skip to content

feat: steam dlc manifest gen , game language gui for steam game , Download for import game #580

Merged
Xnick417x merged 12 commits into
WinNative-Emu:mainfrom
TWCM:feature/steam-dlc-manifest-gen
Jul 12, 2026
Merged

feat: steam dlc manifest gen , game language gui for steam game , Download for import game #580
Xnick417x merged 12 commits into
WinNative-Emu:mainfrom
TWCM:feature/steam-dlc-manifest-gen

Conversation

@TWCM

@TWCM TWCM commented Jun 26, 2026

Copy link
Copy Markdown
Contributor
  1. Added GUI Game Language in Settings> Other > Game Language
    this var will set into prefManager var container_language, it is used to provide the language to StemUtil to set the language var in manifest acf file.

  2. Added more detail on the steam game manifest generation to let the game can read the DLC.
    Steps to make it work.

if you are copy the game file from the pc, you need to go to steam game tab to select the DLC then click download. the download process will verify the file. it will not download again. This step to make sure the dlc depots write into the db, the manifest generation process will get the data from the steam and the local db and write into the manifest file in android way, the CPP version is used in the steam launcher, passing the var to cpp steam.exe in XserverDisplayActivity.java.

if you are going to the normal download process in steam, no additional step.
Tested: SF6, Elden Ring
I also tested the Online match in SF6, no issue with the steam launcher.

  1. I also hardcoded the Download button is alaway clickable, coz when i try to copy the file to the lib, then i go to steam game tab to click download, it will show i dont have enough storage, it will block the download process.

@Xnick417x

Xnick417x commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Are you part of the discord? If not can you join so we can chat. I appreciate your pr and sounds helpful thank you!

@TWCM

TWCM commented Jun 27, 2026

Copy link
Copy Markdown
Contributor Author

Are you part of the discord? If not can you join so we can chat. I appreciate your pr and sounds helpful thank you!

Yes, i am in discord, this is me TWL | 8E5 | 16GB | Y700 G5

From: Xnick417x <[email protected]>
Date: Sat, 27 Jun 2026 05:43:04 +0000
Subject: [PATCH] Fix Steam DLC manifest generation and restore install storage
 gate

- Restore the free-space precondition on the Steam/Epic/GOG install
  dialogs; allow a Steam download when the game is already installed
- Compute SizeOnDisk recursively and null-guard the directory listing
  so a listing error no longer drops all depot data
- Escape name/installdir/language/install-script fields in the native
  ACF writer and double backslashes first in the Kotlin manifest escaper
- Size the depot/shared/install-script buffers to the input length to
  stop silent truncation for games with many depots
- Exclude shared depots from InstalledDepots and drop the dead
  depot-id-in-DLC inclusion clause; classify depots the same on both
  manifest paths
- Restore the thread interrupt flag and guard per-DLC depot resolution
- Hide the duplicate Simplified Chinese language option
- Add Game Language strings to all locales
- Rebuild steam.exe
@TWCM TWCM force-pushed the feature/steam-dlc-manifest-gen branch from 4100785 to 51d3190 Compare June 27, 2026 13:25
@Xnick417x

Copy link
Copy Markdown
Collaborator

Needs proper ui. See Workshop and Achievements in latest pr. Background should be (WsBg)
Needs to ensure proper PANE_NAV (aka controller navigation)
Needs to ensure all strings are translated to all locales

@Xnick417x Xnick417x marked this pull request as draft July 1, 2026 04:01
@Xnick417x

Copy link
Copy Markdown
Collaborator

Please update pr

@TWCM TWCM marked this pull request as ready for review July 11, 2026 07:00
@Xnick417x

Copy link
Copy Markdown
Collaborator
IMG_20260711_193819 IMG_20260711_193645 IMG_20260711_193723

Option b requires more work with a pop-up box gui and stuff. But would be more convenient and per game so more work with that also.

TWCM and others added 2 commits July 12, 2026 09:38
- Gate install on newly-selected DLC size for already-installed games
  instead of skipping the free-space check entirely (Steam and Epic).
- Refresh the container appmanifest on every launch so newly installed
  DLC and language changes propagate.
- Emit dlcappid in the native-launcher manifest the same way the
  generated manifest does.
- Pass the resolved game language into getDownloadableDepots so depot
  filtering matches the language written to the manifest.
- Deduplicate calculated DLC app IDs and drop unrelated whitespace churn.
@Xnick417x Xnick417x merged commit 00a96fe into WinNative-Emu:main Jul 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants